/*
@author https://yunp.top
 */

@file:JsModule("three")

package three

open external class BufferAttribute(array: dynamic, itemSize: Int, normalized: Boolean = definedExternally) {

    var needsUpdate: Boolean

    fun getX(index: Int): Double
    fun getY(index: Int): Double
    fun getZ(index: Int): Double
    fun setXYZ(index: Int, x: Double, y: Double, z: Double): BufferAttribute
}